<?php

namespace App\Repositories\Contract;

use App\Models\Column;
use Prettus\Repository\Contracts\RepositoryCriteriaInterface;
use Prettus\Repository\Contracts\RepositoryInterface;

/**
 * Interface ColumnRepository.
 *
 * @package namespace App\Repositories\Contract;
 */
interface ColumnRepository extends RepositoryInterface, RepositoryCriteriaInterface
{

    /**
     * 复制
     * @param Column $column
     * @param int $projectId
     * @param int $prevId
     * @return Column
     */
    function copy(Column $column, int $projectId, int $prevId = 0) : Column;
}
